Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / NotifyCollectionBase<T> Class / Contains Method
The item in the collection for which to search.


In This Topic
    Contains Method (NotifyCollectionBase<T>)
    In This Topic
    Determines whether the collection contains a specified item.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal item As T _
    ) As Boolean
    'Usage
     
    Dim instance As NotifyCollectionBase(Of T)
    Dim item As T
    Dim value As Boolean
     
    value = instance.Contains(item)
    public bool Contains( 
       T item
    )

    Parameters

    item
    The item in the collection for which to search.

    Return Value

    true if the collection contains the specified item; otherwise, false.
    See Also